package dao;

import java.util.List;
import java.util.Map;



import entities.TIps;


public interface IIpsDao {

	//插入数据
	public void insert(TIps paramObject) ;

	//更新数据
	public void update(TIps paramObject) ;

	//按主键删除数据
	public Integer delete(String primaryKey) ;
	
	//按条件删除数据
	public Integer clear(Map<String, Object> paramMap) ;
	
	//按主键取一条数据
	public TIps obtain(String primaryKey) ;

	//按条件取第一条数据
	public TIps unique(Map<String, Object> paramMap) ;
	
	//按条件随机取一条数据
	public TIps random(Map<String, Object> paramMap) ;
	
	//按条件汇总
	public Double total(Map<String, Object> paramMap) ;

	//按条件获取结果记录集条数
	public Integer count(Map<String, Object> paramMap) ;

	//按条件返回数据集合
	public List<TIps> query(Map<String, Object> paramMap) ;

}
